third-party-exp-api
Capital Invest - Confirm Withdrawal
Description: This endpoint is used to confirm fund transfer from Capital Invest Trading Account to CBOJ.
Mulesoft Request:
Headers:
Mandatory Headers: x-correlation-id, client_id, Authorization
Optional Headers: x-sub-channel-id, x-user-id, x-debug-flag, x-customer-id, client_secret, x-channel-id, x-bank-id
Paramaters:
URI Params: NA
Query Params: NA
Body:
{
"otpId": "330c2064-7b41-4150-b244-8ac0e5fc0e18",
"otp": "774454"
}
Content-type: application/json, text/json
Mulesoft Response:
Success Response: (200)
{
"status": {
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
}
}
Error Response: (400, 403, 404, 405, 406, 415, 500, 501)
{
"status": {
"success": false,
"code": "400",
"reasonCode": "BadRequest",
"arabicMessage": "Insufficient Balance",
"englishMessage": "Insufficient Balance",
"backendError": "Insufficient Balance",
"backendCode": 16
}
}